package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 工序分包费用项 关联 材机分类对象 sta_link_gxfee_category
 *
 * @author zxw
 * @date 2022-12-13
 */
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaLinkGxfeeCategory extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ExcelProperty("ID")
        private String id;

    /** 公司id */
    @ExcelIgnore
        private String versionId;

    /** 分包费用项id */
            @ExcelProperty("分包费用项id")
        private String gxId;

    /** 分类id */
            @ExcelProperty("分类id")
        private String categoryId;

            @ExcelIgnore
        private BigDecimal consumption;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setVersionId(String versionId)
            {
            this.versionId = versionId;
            }

    public String getVersionId()
            {
            return versionId;
            }
    public void setGxId(String gxId)
            {
            this.gxId = gxId;
            }

    public String getGxId()
            {
            return gxId;
            }
    public void setCategoryId(String categoryId)
            {
            this.categoryId = categoryId;
            }

    public String getCategoryId()
            {
            return categoryId;
            }
    public void setConsumption(BigDecimal consumption)
            {
            this.consumption = consumption;
            }

    public BigDecimal getConsumption()
            {
            return consumption;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionId", getVersionId())
            .append("gxId", getGxId())
            .append("categoryId", getCategoryId())
            .append("consumption", getConsumption())
        .toString();
        }
        }
